<?php include './application/views/zhs_mobile/header.php';?>

<section class="invbd main">
    <ul class="invbd_title">
      <li hidefocus="true" class="active">个人信息</li>
      <li hidefocus="true">资金管理</li>
    </ul>
    <div class="swiper-container">
    <div class="swiper-wrapper">
	      <div class="swiper-slide">
	        <dl class="memdl">
	          <dd style="background:url(<?php echo $photo;?>) no-repeat;"></dd>
	          <dt>
	            <span><?php echo $userInfo['username'];?> <br>vip等级：
	            <?php if(isset($userInfo['vip_name']) && trim($userInfo['vip_name']) != ''){ ?>
	            <img title="<?php echo $userInfo['vip_name'];?>" alt="<?php echo  $userInfo['vip_name'];?>" src="/static/credit/<?php echo  $userInfo['pic'];?>">
	            <?php } else echo "非VIP用户"?>
	            </span> 
	             <a class="bbbtn" href="/zhs_mobile/ucenter/logout.html" target = "_self" >安全退出</a>
	            <address>上次登陆时间：<?php echo date("Y-m-d H:i:s ",$userInfo['uptime']);?><br>
					             最后登陆时间：<?php echo date("Y-m-d H:i:s ",$userInfo['lasttime']);?>
				</address>
	          </dt>
	        </dl>
	        <article class="membd">
	        <h4>
		身份证&nbsp;&nbsp;&nbsp;&nbsp;: <?php echo strdisplay_start($userInfo['card_id'],2);?> <br>
		真实姓名&nbsp;: <?php if($userInfo['realname']!='') echo strdisplay ( $userInfo ['realname'], 1 );else echo "请先实名认证";?>  <br>
		手机号码&nbsp;: <?php echo strdisplay ( $userInfo ['phone'], 4 );?> <br>
		登陆次数&nbsp;: <?php echo $userInfo['logintime'];?> <br>
		
	        </h4>
	        </article>
	        <nav class="memnav">
	          <a class="memnav1" href="/zhs_mobile/ucenter/xglogin.html" target="_self"><em>登录密码</em><span></span></a>
	          <a class="memnav2" href="/zhs_mobile/ucenter/jylogin.html" target="_self"><em>交易密码</em><span></span></a>
	          <a class="memnav3" href="/zhs_mobile/ucenter/name.html" target="_self"><em>实名认证</em><span></span></a>
	          <a class="memnav4" href="/zhs_mobile/ucenter/tel.html" target="_self"><em>手机认证</em><span></span></a>
	          <a class="memnav3" href="/zhs_mobile/ucenter/zhs_bank.html" target="_self"><em>银行卡绑定</em><span></span></a>
	        </nav>
	      </div>
	      <div class="swiper-slide">
	        <dl class="memdl">
	           <dd style="background:url(<?php echo $photo;?>) no-repeat;"></dd>
	          <dt>
	            <span> <?php echo $userInfo['username'];?> <br>vip等级：
	            <?php if(isset($userInfo['vip_name']) && trim($userInfo['vip_name']) != ''){ ?>
	            <img title="<?php echo $userInfo['vip_name'];?>" alt="<?php echo  $userInfo['vip_name'];?>" src="/static/credit/<?php echo  $userInfo['pic'];?>">
	            <?php } else echo "非VIP用户"?><br>
	          	  账户总额：<?php echo number_format($user_acnt['total'],2);?> 元
	            </span>
	          </dt>
	          <ul>
	              <li><span>理财资产：<?php echo number_format($user_acnt['invite_total'],2);?></span><span>冻结资金：<?php echo number_format($user_acnt['no_use_money'],2);?></span></li>
	              <li><span>累计收益：<?php echo number_format($user_acnt['income_total'],2);?></span><span>账户余额：<?php echo number_format($user_acnt['use_money'],2);?></span><span>代金券金额：<?php echo number_format($user_acnt['red_money'],2);?></span></li>
	            </ul>
	        </dl>
	        <article class="btn">
	        <a href="/zhs_mobile/ucenter/recharge.html" target = "_self" class="membtn">充 值</a> <a href="/zhs_mobile/ucenter/cash" class="membtn2" target = "_self" >提 现</a>
	        </article>
	        <nav class="memnav">
	          <a class="memnav_1" href="/zhs_mobile/acenter/queryrecahrge.html" target="_self"><em>充值记录</em><span></span></a>
	          <a class="memnav_2" href="/zhs_mobile/acenter/querycash.html" target="_self"><em>提现记录</em><span></span></a>
	          <a class="memnav_3" href="/zhs_mobile/acenter/queryinvest.html" target="_self"><em>资金明细</em><span></span></a>
	          <a class="memnav_4" href="/zhs_mobile/acenter/querydetails.html" target="_self"><em>投资记录</em><span></span></a>
	          <a class="memnav_3" href="/zhs_mobile/acenter/queryreturn.html" target="_self"><em>回款明细</em><span></span></a>
	        </nav>
	      
	      </div>
	   </div>
    </div>
</section>

<script type="text/javascript">
var invbd_titleSwiper = new Swiper('.swiper-container',{
	speed:500,
	onSlideChangeStart: function(){
		$(".invbd_title .active").removeClass('active');
		$(".invbd_title li").eq(invbd_titleSwiper.activeIndex).addClass('active');
	}
});

$(".invbd_title li").on('touchstart mousedown',function(e){
	e.preventDefault()
	$(".invbd_title .active").removeClass('active');
	$(this).addClass('active');
	invbd_titleSwiper.swipeTo($(this).index());
});
$(".invbd_title li").click(function(e){
	e.preventDefault();
});
</script>
<?php include './application/views/zhs_mobile/footer.php';?>
